Do not try to access remote locations on buildtime test
authorAndreas Tille tille@debian.org, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
Bug-Debian: https://bugs.debian.org/882641

Gbp-Pq: Name prevent_online_access_in_buildtime_tests.patch

statsmodels/datasets/tests/test_utils.py

index 23115b5142f4e3ed5bb7303baafa62a493458cbf..c8d91adf38d6079eabd03d0fc7a3f90a053478ca 100644 (file)
@@ -20,6 +20,7 @@ def test_get_rdataset():
 #@dec.skipif(not internet_available)
 def t_est_webuse():
     # test copied and adjusted from iolib/tests/test_foreign
+    raise SkipTest('No remote connection at Debian package build time - skipping test')
     from statsmodels.iolib.tests.results.macrodata import macrodata_result as res2
     #base_gh = "http://github.com/statsmodels/statsmodels/raw/master/statsmodels/datasets/macrodata/"
     base_gh = "http://www.statsmodels.org/devel/_static/"
@@ -29,6 +30,7 @@ def t_est_webuse():
 #@dec.skipif(not internet_available)
 def t_est_webuse_pandas():
     # test copied and adjusted from iolib/tests/test_foreign
+    raise SkipTest('No remote connection at Debian package build time - skipping test')
     from pandas.util.testing import assert_frame_equal
     from statsmodels.datasets import macrodata
     dta = macrodata.load_pandas().data